[INFO] cloning repository https://github.com/frublox/mobi-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frublox/mobi-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrublox%2Fmobi-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrublox%2Fmobi-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4c59cdb0b614d4e9ce5650710ce3fe2290751bf8
[INFO] checking frublox/mobi-rust against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrublox%2Fmobi-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/frublox/mobi-rust on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/frublox/mobi-rust
[INFO] finished tweaking git repo https://github.com/frublox/mobi-rust
[INFO] tweaked toml for git repo https://github.com/frublox/mobi-rust written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/frublox/mobi-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9aa4bfe55cfdc1f376261879a2b569ca3385eae8c920c9a6fccebc7257a86bce
[INFO] running `Command { std: "docker" "start" "-a" "9aa4bfe55cfdc1f376261879a2b569ca3385eae8c920c9a6fccebc7257a86bce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9aa4bfe55cfdc1f376261879a2b569ca3385eae8c920c9a6fccebc7257a86bce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9aa4bfe55cfdc1f376261879a2b569ca3385eae8c920c9a6fccebc7257a86bce", kill_on_drop: false }`
[INFO] [stdout] 9aa4bfe55cfdc1f376261879a2b569ca3385eae8c920c9a6fccebc7257a86bce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5368d3ce3083a37c1a3c01b0cd266a727c79c2d4bcb041fca1b3ceae7e0dab05
[INFO] running `Command { std: "docker" "start" "-a" "5368d3ce3083a37c1a3c01b0cd266a727c79c2d4bcb041fca1b3ceae7e0dab05", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking debug_print v1.0.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking mobi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]    --> src/lz77.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     use std::str;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mobi`
[INFO] [stdout]    --> src/mobi.rs:583:21
[INFO] [stdout]     |
[INFO] [stdout] 583 |     pub fn to_bytes(mobi: &Mobi) -> Vec<u8> {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_mobi`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/lz77.rs:197:26
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let compressed = compress(input);
[INFO] [stdout]     |                          ^^^^^^^^------- an argument of type `&mut Vec<u8>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lz77.rs:73:8
[INFO] [stdout]     |
[INFO] [stdout] 73  | pub fn compress(input: &[u8], output: &mut Vec<u8>) {
[INFO] [stdout]     |        ^^^^^^^^ ------------  --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let compressed = compress(input, /* &mut Vec<u8> */);
[INFO] [stdout]     |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `attributes` and `unique_id` are never read
[INFO] [stdout]   --> src/mobi.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct RecordInfoEntry {
[INFO] [stdout]    |        --------------- fields in this struct
[INFO] [stdout] 12 |     offset: u32,
[INFO] [stdout] 13 |     attributes: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     unique_id: [u8; 3],
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/mobi.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Metadata {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 32 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 33 |     attributes: u16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 34 |     version: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 35 |     creation_date: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 36 |     modification_date: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     last_backup_date: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     modification_number: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 39 |     app_info_id: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 40 |     sort_info_id: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 41 |     type_: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 42 |     creator: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 43 |     unique_seed_id: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     next_record_list_id: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/mobi.rs:93:5
[INFO] [stdout]     |
[INFO] [stdout] 87  | struct PalmDocHeader {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 93  |     compression: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 94  |     unused: u16,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 95  |     /// The length of the book's uncompressed text.
[INFO] [stdout] 96  |     text_length: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 97  |     /// Number of PDB records used for the text of book.
[INFO] [stdout] 98  |     record_count: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 99  |     /// Maximum size of each record containing text. Always 4096.
[INFO] [stdout] 100 |     record_size: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     encryption_type: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 107 |     unknown_14: u16,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PalmDocHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/mobi.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 130 | struct MobiHeader {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 131 |     /// The characters M O B I.
[INFO] [stdout] 132 |     identifier: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     mobi_type: u32,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     text_encoding: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 168 |     /// Some kind of unique ID number (random?).
[INFO] [stdout] 169 |     unique_id: u32,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 170 |     /// Version of the Mobipocket format used in this file.
[INFO] [stdout] 171 |     file_version: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     locale: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 187 |     /// Input language for a dictionary.
[INFO] [stdout] 188 |     input_language: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 189 |     /// Output language for a dictionary.
[INFO] [stdout] 190 |     output_language: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 191 |     /// Minimum Mobipocket version support needed to read this file.
[INFO] [stdout] 192 |     min_version: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     first_huffman_record_number: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 198 |     /// The number of huffman compression records. 
[INFO] [stdout] 199 |     huffman_record_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     first_content_record_number: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     last_content_record_number: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 210 |     unknown_180: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 211 |     /// The record number of the first FCIS record.
[INFO] [stdout] 212 |     fcis_record_number: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 213 |     /// The number of FCIS records.
[INFO] [stdout] 214 |     fcis_record_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 215 |     /// The record number of the first FLIS record. 
[INFO] [stdout] 216 |     flis_record_number: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 217 |     /// The number of FLIS records.
[INFO] [stdout] 218 |     flis_record_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MobiHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_` and `data` are never read
[INFO] [stdout]    --> src/mobi.rs:272:5
[INFO] [stdout]     |
[INFO] [stdout] 271 | struct ExthRecord {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 272 |     type_: u32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 273 |     length: u32,
[INFO] [stdout] 274 |     data: Vec<u8>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ExthRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `identifier`, `header_length`, `record_count`, `record_list` and `padding` are never read
[INFO] [stdout]    --> src/mobi.rs:291:5
[INFO] [stdout]     |
[INFO] [stdout] 290 | struct ExthHeader {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 291 |     identifier: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 292 |     header_length: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 293 |     record_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 294 |     record_list: Vec<ExthRecord>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 295 |     padding: Vec<u8>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ExthHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `extra_multibyte_bytes`, `tbs_indexing_description` and `uncrossable_breaks` are never read
[INFO] [stdout]    --> src/mobi.rs:336:5
[INFO] [stdout]     |
[INFO] [stdout] 334 | struct Record<'a> {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 335 |     data: &'a [u8],
[INFO] [stdout] 336 |     extra_multibyte_bytes: &'a [u8],
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 337 |     tbs_indexing_description: &'a [u8],
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 338 |     uncrossable_breaks: &'a [u8],
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Record` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/mobi.rs:414:5
[INFO] [stdout]     |
[INFO] [stdout] 413 | struct IndexMeta {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] 414 |     identifier: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 415 |     length: u32,
[INFO] [stdout] 416 |     type_: u32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 417 |     unknown_12: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 418 |     unknown_16: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 419 |     idxt_start: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 420 |     index_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 421 |     index_encoding: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 422 |     total_index_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 423 |     ordt_start: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 424 |     ligt_start: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 425 |     unknown_48: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 426 |     unknown_52: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IndexMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tag`, `bit_mask`, `control_byte_end` and `values` are never read
[INFO] [stdout]    --> src/mobi.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 450 | struct TagTableEntry {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 451 |     tag: u8,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 452 |     num_values: u8,
[INFO] [stdout] 453 |     bit_mask: u8,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 454 |     control_byte_end: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 455 |     values: Vec<Vec<u8>>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TagTableEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `identifier`, `length`, `control_byte_count` and `tag_table` are never read
[INFO] [stdout]    --> src/mobi.rs:480:5
[INFO] [stdout]     |
[INFO] [stdout] 479 | struct TagxSection {
[INFO] [stdout]     |        ----------- fields in this struct
[INFO] [stdout] 480 |     identifier: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 481 |     length: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 482 |     control_byte_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 483 |     tag_table: Vec<TagTableEntry>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TagxSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `exth_header`, `index_meta_record` and `tagx_section` are never read
[INFO] [stdout]    --> src/mobi.rs:515:5
[INFO] [stdout]     |
[INFO] [stdout] 507 | pub struct Mobi<'a> {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 515 |     exth_header: Option<ExthHeader>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 518 |     index_meta_record: Option<IndexMeta>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 519 |     tagx_section: Option<TagxSection>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_bytes` is never used
[INFO] [stdout]    --> src/mobi.rs:583:12
[INFO] [stdout]     |
[INFO] [stdout] 583 |     pub fn to_bytes(mobi: &Mobi) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lz77.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 |         decompress(&compressed, &mut decompressed);
[INFO] [stdout]     |         ---------- ^^^^^^^^^^^ expected slice `[u8]`, found `()`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&()`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lz77.rs:30:8
[INFO] [stdout]     |
[INFO] [stdout] 30  | pub fn decompress(input: &[u8], output: &mut Vec<u8>) {
[INFO] [stdout]     |        ^^^^^^^^^^ ------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/lz77.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let compressed = compress(input);
[INFO] [stdout]     |                          ^^^^^^^^------- an argument of type `&mut Vec<u8>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lz77.rs:73:8
[INFO] [stdout]     |
[INFO] [stdout] 73  | pub fn compress(input: &[u8], output: &mut Vec<u8>) {
[INFO] [stdout]     |        ^^^^^^^^ ------------  --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let compressed = compress(input, /* &mut Vec<u8> */);
[INFO] [stdout]     |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lz77.rs:205:20
[INFO] [stdout]     |
[INFO] [stdout] 205 |         decompress(&compressed, &mut decompressed);
[INFO] [stdout]     |         ---------- ^^^^^^^^^^^ expected slice `[u8]`, found `()`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&()`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lz77.rs:30:8
[INFO] [stdout]     |
[INFO] [stdout] 30  | pub fn decompress(input: &[u8], output: &mut Vec<u8>) {
[INFO] [stdout]     |        ^^^^^^^^^^ ------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mobi` due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "5368d3ce3083a37c1a3c01b0cd266a727c79c2d4bcb041fca1b3ceae7e0dab05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5368d3ce3083a37c1a3c01b0cd266a727c79c2d4bcb041fca1b3ceae7e0dab05", kill_on_drop: false }`
[INFO] [stdout] 5368d3ce3083a37c1a3c01b0cd266a727c79c2d4bcb041fca1b3ceae7e0dab05
